//#define _CRT_SECURE_NO_WARNINGS 520
//#include<stdio.h>
//#include<string.h>
//#include<windows.h>
//#include<stdlib.h>
//int main()
//{
//	char arr1[] = "Wish you a happy National Day and joy everyday!!!";    //szΪ50
//	char arr2[] = "*************************************************";
//	int sz = sizeof(arr1) / sizeof(arr1[0]);
//	int left = 0, right = sz - 2;
//	while (left <= right)
//	{
//		arr2[left] = arr1[left];
//		arr2[right] = arr1[right];
//		printf("%s\n", arr2);
//		Sleep(200);
//		system("cls");
//		left++;
//		right--;
//		
//	}
//	printf("%s\n", arr2);
//	
//	//printf("%zd", sz);
//	return 0;
//}




#define _CRT_SECURE_NO_WARNNGS 520
#include<stdio.h>
#include<windows.h>
#include<stdlib.h>
#include<string.h>

int main()
{
	char arr_string[] = "Wish you a happy National Day and joy everyday!!!";
	char arr_space1[] = "                                                 ";
	int sz = sizeof(arr_string) / sizeof(arr_string[0]);
	int left = 0, right = sz - 2;
	while (left <= right)
	{
		arr_space1[left] = arr_string[left];
		printf("%s", arr_space1);
		Sleep(200);
		system("cls");
		left++;
	}
	printf("%s", arr_space1);
	return 0;
	
}